package admin

import database "hft/Database"

type SellStatus struct {
	database.Base
	Name       string `json:"name,omitempty" gorm:"uniqueIndex"`
	BackColor  string `json:"backColor,omitempty"`
	TextColor  string `json:"textColor,omitempty"`
	StatusCode int    `json:"statusCode,omitempty" gorm:"type:tinyint(1);size:1;index;unique"`
}

func (SellStatus) TableName() string {
	return database.TableNameFormat("sell_status")
}
